package com.educate.common.dto;

/**
 * @author yjj
 * @date 2021/11/17
 * @description: MenuDto
 */

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 *           {
 *            id: 1,
 *            path: '/online',
 *            icon: 'mdi-clipboard-play-multiple-outline',
 *            title: '线上课程',
 *            children:[]
 *          },
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MenuNavDto {
    private Long id;
    private String path;
    private String icon;
    private String title;
    private List<MenuNavDto> children = new ArrayList<>();
}
